package zelix.hack.hacks;

import zelix.hack.Hack;
import zelix.hack.HackCategory;
import zelix.value.BooleanValue;
import zelix.value.NumberValue;

public class ElytraFly2b2t extends Hack {

    private double hoverTarget;

    private boolean hoverState;

    BooleanValue hover;
    BooleanValue AutoOpen;
    NumberValue speed;
    NumberValue downSpeed;
    NumberValue sinkSpeed;


    public ElytraFly2b2t(){
        super("ElytraFly" , HackCategory.MOVEMENT);
        this.hoverTarget = -1.0D;
        this.hoverState = false;
        this.hover = new BooleanValue("Hover" , true);
        this.AutoOpen = new BooleanValue("AutoOpen" ,true);
        this.speed = new NumberValue("Speed" , 1.8D, 0.0D, 10.0D);
        this.downSpeed = new NumberValue("Down Speed" ,  2.0D, 0.0D, 10.0D);
        this.sinkSpeed = new NumberValue("Sink Speed" ,0.001D, 0.0D, 10.0D);
        addValue(hover , AutoOpen , sinkSpeed , speed , downSpeed);

      //  this.packetYaw = 0.0F;

    }


}
